package sort;

/**
 * @author chengz
 * @description 排序的超类
 * @create 2020-11-23 13:58
 */
public class SuperSort {
    /**
     * 排序方法的签名
     * @param a
     */
    public static void sort(Comparable[] a){

    }

    public static boolean quite(Comparable i,Comparable j){
        return i.compareTo(j)>0;
    }

    public static void swap(Comparable[]a,int i, int j){
        Comparable temp=a[j];
        a[j]=a[i];
        a[i]=temp;
    }

}
